package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.qo.PageResult;
import cn.wolfcode.crm.qo.QueryObject;


import java.util.List;

public interface IDepartmentService {
    void deleteByPrimaryKey(Long id);

    void saveOrUpdate(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();


    //分页
   PageResult queryForList(QueryObject qo);


    void changeState(Long id);
}
